package com.manage.platform.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 绩效目标关联任务表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(value = "t_performance_task")
public class PerformanceTaskEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 绩效目标关联任务ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "绩效目标关联任务ID")
    private Long id;

    /**
     * 绩效目标ID
     */
    @Schema(description = "绩效目标ID")
    private Long performanceId;

    /**
     * 任务ID
     */
    @Schema(description = "任务ID")
    private Long taskId;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private String createTime;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private String updateTime;

    /**
     * 是否删除(0=否, 1=是)
     */
    @TableLogic
    @Schema(description = "是否删除(0=否, 1=是)")
    private Integer isDeleted;
}
